package com.aliyun.messagemgt.converter;

import com.aliyun.messagemgt.dto.sys.SysUserInfoDTO;
import com.aliyun.messagemgt.entities.SysUserInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @ClassName: SysUserInfoConverter
 * @Description:
 * @Author: wugongzi
 * @Date: 2021/9/18 17:09
 * @Version: 1.0
 */
@Mapper
public interface SysUserInfoConverter {
    SysUserInfoConverter INSTANCE = Mappers.getMapper(SysUserInfoConverter.class);

    List<SysUserInfoDTO> sysUserInfoList2sysUserInfoDTOList(List<SysUserInfo> sysUserInfoList);

    List<SysUserInfo> sysUserInfoDTOList2sysUserInfoList(List<SysUserInfoDTO> noSyncUserInfoList);
}
